/**  
* @Title: CompanyController.java
* @Package com.house.service.controller.company
* @version V1.0  
*/ 
package com.hjb.service.controller.company;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import com.hjb.service.annotation.LogInfo;
import com.hjb.service.annotation.LogType;
import com.hjb.service.company.CompanyService;
import com.hjb.service.domain.Company;

/**
* @ClassName: CompanyController
* @Description: TODO(公司信息相关)
* @author <a href="mailto:125671254@qq.com">Pan Xinwen</a>
* @date 2017年5月13日 下午5:16:58
*/
@RestController
@RequestMapping("/company/v1")
public class CompanyController {

	@Autowired
	private CompanyService companyService;
	
	/**
	 * 
	* @Title: getCompanyMsg
	* @Description: TODO(获取公司基本信息)
	* @param @param request
	* @param @return    设定文件
	* @return Company    返回类型
	* @throws
	 */
	@LogInfo(logType=LogType.查询,operationContent="获取公司信息")
	@RequestMapping("getcm")
	@ResponseBody
	public Company getCompanyMsg(HttpServletRequest request){
		
		return companyService.getCompanyMsg();
		
	}
	
}
